home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1990-05-01 | 9.8 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| ZX81 Sinclair BASIC (image/sinclairBASIC)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Tue May 1 12:00:00 1990, modified Tue May 1 12:00:00 1990, creator 'MPS ', type ASCII, 8144 bytes "UOffscreen.p" , at 0x2050 1600 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 55 4f 66 66 73 63 | 72 65 65 6e 2e 70 00 00 |..UOffsc|reen.p..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 1f d0 00 | 00 06 40 a2 63 63 00 a2 |........|..@.cc..|
|00000060| 63 63 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |cc......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a0 d6 00 00 |........|........|
|00000080| 7b 5b 6a 3d 32 30 2f 35 | 33 2f 31 24 5d 20 50 61 |{[j=20/5|3/1$] Pa|
|00000090| 73 6d 61 74 20 4f 70 74 | 69 6f 6e 73 7d 0d 0d 55 |smat Opt|ions}..U|
|000000a0| 4e 49 54 20 55 4f 66 66 | 73 63 72 65 65 6e 3b 0d |NIT UOff|screen;.|
|000000b0| 0d 7b 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.{------|--------|
|000000c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000000f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000100| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 0d 09 |--------|-----...|
|00000110| 50 72 6f 67 72 61 6d 3a | 09 46 72 61 63 41 70 70 |Program:|.FracApp|
|00000120| 20 32 2e 30 0d 09 55 6e | 69 74 3a 09 09 55 4f 66 | 2.0..Un|it:..UOf|
|00000130| 66 73 63 72 65 65 6e 0d | 09 46 69 6c 65 73 3a 09 |fscreen.|.Files:.|
|00000140| 09 55 4f 66 66 73 63 72 | 65 65 6e 2e 70 0d 09 49 |.UOffscr|een.p..I|
|00000150| 6e 63 6c 75 64 65 73 3a | 09 55 4f 66 66 73 63 72 |ncludes:|.UOffscr|
|00000160| 65 65 6e 2e 69 6e 63 31 | 2e 70 0d 0d 09 62 79 20 |een.inc1|.p...by |
|00000170| 4b 65 69 74 68 20 52 6f | 6c 6c 69 6e 20 26 20 42 |Keith Ro|llin & B|
|00000180| 6f 33 62 20 4a 6f 68 6e | 73 6f 6e 0d 09 6f 66 20 |o3b John|son..of |
|00000190| 41 70 70 6c 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 |Apple Ma|cintosh |
|000001a0| 44 65 76 65 6c 6f 70 65 | 72 20 54 65 63 68 6e 69 |Develope|r Techni|
|000001b0| 63 61 6c 20 53 75 70 70 | 6f 72 74 0d 0d 09 43 6f |cal Supp|ort...Co|
|000001c0| 70 79 72 69 67 68 74 20 | a9 20 31 39 38 39 2d 31 |pyright |. 1989-1|
|000001d0| 39 39 30 20 41 70 70 6c | 65 20 43 6f 6d 70 75 74 |990 Appl|e Comput|
|000001e0| 65 72 2c 20 49 6e 63 2e | 0d 09 41 6c 6c 20 72 69 |er, Inc.|..All ri|
|000001f0| 67 68 74 73 20 72 65 73 | 65 72 76 65 64 2e 0d 0d |ghts res|erved...|
|00000200| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000210| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000220| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000230| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000240| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000250| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0d 09 4f |--------|----...O|
|00000260| 66 66 73 63 72 65 65 6e | 20 6d 61 6e 61 67 65 6d |ffscreen| managem|
|00000270| 65 6e 74 2e 20 48 65 72 | 65 69 6e 2c 20 77 65 20 |ent. Her|ein, we |
|00000280| 68 61 76 65 20 74 68 72 | 65 65 20 6f 62 6a 65 63 |have thr|ee objec|
|00000290| 74 73 2e 20 54 68 65 72 | 65 20 69 73 20 61 20 54 |ts. Ther|e is a T|
|000002a0| 4f 66 66 73 63 72 65 65 | 6e 0d 09 6f 62 6a 65 63 |Offscree|n..objec|
|000002b0| 74 2c 20 74 68 61 74 20 | 64 65 66 69 6e 65 73 20 |t, that |defines |
|000002c0| 73 6f 6d 65 20 63 6f 6d | 6d 6f 6e 20 72 6f 75 74 |some com|mon rout|
|000002d0| 69 6e 65 73 20 61 6e 64 | 20 6d 65 74 68 6f 64 20 |ines and| method |
|000002e0| 6e 61 6d 65 73 2e 20 49 | 74 20 72 65 61 6c 6c 79 |names. I|t really|
|000002f0| 20 64 6f 65 73 6e d5 74 | 0d 09 64 6f 20 61 20 77 | doesn.t|..do a w|
|00000300| 68 6f 6c 65 20 6c 6f 74 | 2c 20 61 73 09 6d 6f 73 |hole lot|, as.mos|
|00000310| 74 20 6f 66 20 74 68 65 | 20 66 75 6e 63 74 69 6f |t of the| functio|
|00000320| 6e 61 6c 69 74 79 20 69 | 73 20 69 6d 70 6c 65 6d |nality i|s implem|
|00000330| 65 6e 74 65 64 20 69 6e | 20 69 74 73 0d 09 73 75 |ented in| its..su|
|00000340| 62 2d 63 6c 61 73 73 65 | 73 3a 20 54 4f 6c 64 47 |b-classe|s: TOldG|
|00000350| 72 6f 73 73 4f 66 66 73 | 63 72 65 65 6e 2c 20 61 |rossOffs|creen, a|
|00000360| 6e 64 20 54 4e 65 77 43 | 6f 6f 6c 4f 66 66 73 63 |nd TNewC|oolOffsc|
|00000370| 72 65 65 6e 2e 0d 0d 09 | 54 4f 6c 64 47 72 6f 73 |reen....|TOldGros|
|00000380| 73 4f 66 66 73 63 72 65 | 65 6e 20 69 73 20 61 20 |sOffscre|en is a |
|00000390| 73 65 74 20 6f 66 20 68 | 6f 6d 65 20 62 72 65 77 |set of h|ome brew|
|000003a0| 20 72 6f 75 74 69 6e 65 | 73 20 74 68 61 74 20 69 | routine|s that i|
|000003b0| 6d 70 6c 65 6d 65 6e 74 | 20 6f 66 66 73 63 72 65 |mplement| offscre|
|000003c0| 65 6e 0d 09 50 69 78 4d | 61 70 73 20 74 6f 74 61 |en..PixM|aps tota|
|000003d0| 6c 6c 79 20 62 79 20 68 | 61 6e 64 2e 20 54 68 65 |lly by h|and. The|
|000003e0| 73 65 20 61 72 65 20 74 | 68 65 20 72 6f 75 74 69 |se are t|he routi|
|000003f0| 6e 65 73 20 74 68 61 74 | 20 61 72 65 20 69 6e 20 |nes that| are in |
|00000400| 74 68 65 20 6f 72 69 67 | 69 6e 61 6c 0d 09 76 65 |the orig|inal..ve|
|00000410| 72 73 69 6f 6e 20 6f 66 | 20 46 72 61 63 41 70 70 |rsion of| FracApp|
|00000420| 2e 20 49 6e 20 74 68 65 | 20 70 61 73 74 2c 20 74 |. In the| past, t|
|00000430| 68 69 73 20 77 61 73 20 | 74 68 65 20 6f 6e 6c 79 |his was |the only|
|00000440| 20 77 61 79 20 74 6f 20 | 63 72 65 61 74 65 20 6f | way to |create o|
|00000450| 66 66 73 63 72 65 65 6e | 0d 09 50 69 78 4d 61 70 |ffscreen|..PixMap|
|00000460| 73 2e 57 68 65 6e 20 69 | 6e 69 74 69 61 6c 69 7a |s.When i|nitializ|
|00000470| 69 6e 67 20 54 4f 6c 64 | 47 72 6f 73 73 4f 66 66 |ing TOld|GrossOff|
|00000480| 73 63 72 65 65 6e 2c 20 | 77 65 20 63 72 65 61 74 |screen, |we creat|
|00000490| 65 20 61 20 6e 65 77 20 | 50 69 78 4d 61 70 20 61 |e a new |PixMap a|
|000004a0| 6e 64 20 64 61 74 61 0d | 09 62 75 66 66 65 72 2c |nd data.|.buffer,|
|000004b0| 20 73 65 74 20 75 70 20 | 61 6c 6c 20 74 68 65 20 | set up |all the |
|000004c0| 76 61 6c 75 65 73 20 66 | 6f 72 20 74 68 65 6d 2c |values f|or them,|
|000004d0| 20 63 6c 65 61 72 20 74 | 68 65 20 62 75 66 66 65 | clear t|he buffe|
|000004e0| 72 2c 20 63 72 65 61 74 | 65 20 61 20 67 44 65 76 |r, creat|e a gDev|
|000004f0| 69 63 65 0d 09 72 65 63 | 6f 72 64 2c 20 69 6e 69 |ice..rec|ord, ini|
|00000500| 74 69 61 6c 69 7a 65 20 | 69 74 2c 20 61 74 74 61 |tialize |it, atta|
|00000510| 63 68 20 74 68 65 20 74 | 77 6f 20 74 6f 67 65 74 |ch the t|wo toget|
|00000520| 68 65 72 2c 20 61 6e 64 | 20 68 6f 70 65 20 74 68 |her, and| hope th|
|00000530| 61 74 20 69 74 20 77 69 | 6c 6c 20 73 74 69 6c 6c |at it wi|ll still|
|00000540| 0d 09 77 6f 72 6b 20 75 | 6e 64 65 72 20 6e 65 77 |..work u|nder new|
|00000550| 20 53 79 73 74 65 6d 73 | 2e 20 54 4e 65 77 43 6f | Systems|. TNewCo|
|00000560| 6f 6c 4f 66 66 73 63 72 | 65 65 6e 20 75 73 65 73 |olOffscr|een uses|
|00000570| 20 74 68 65 20 6e 65 77 | 20 33 32 2d 42 69 74 20 | the new| 32-Bit |
|00000580| 43 6f 6c 6f 72 20 51 75 | 69 63 6b 44 72 61 77 0d |Color Qu|ickDraw.|
|00000590| 09 72 6f 75 74 69 6e 65 | 73 20 69 66 20 74 68 65 |.routine|s if the|
|000005a0| 79 20 61 72 65 20 61 76 | 61 69 6c 61 62 6c 65 2e |y are av|ailable.|
|000005b0| 20 49 74 20 6a 75 73 74 | 20 63 61 6c 6c 73 20 4e | It just| calls N|
|000005c0| 65 77 47 57 6f 72 6c 64 | 2c 20 61 6e 64 20 61 74 |ewGWorld|, and at|
|000005d0| 74 61 63 68 65 73 20 6f | 75 72 20 63 6f 6c 6f 72 |taches o|ur color|
|000005e0| 0d 09 74 61 62 6c 65 20 | 74 6f 20 69 74 2e 0d 0d |..table |to it...|
|000005f0| 09 54 68 65 72 65 20 61 | 72 65 20 73 65 76 65 72 |.There a|re sever|
|00000600| 61 6c 20 73 75 70 70 6f | 72 74 20 72 6f 75 74 69 |al suppo|rt routi|
|00000610| 6e 65 73 20 66 6f 72 20 | 54 4f 66 66 73 63 72 65 |nes for |TOffscre|
|00000620| 65 6e 73 2e 20 43 68 61 | 6e 67 65 43 54 46 6c 61 |ens. Cha|ngeCTFla|
|00000630| 67 20 69 73 20 75 73 65 | 64 20 74 6f 20 73 65 74 |g is use|d to set|
|00000640| 0d 09 6f 72 20 63 6c 65 | 61 72 20 63 6f 6c 6f 72 |..or cle|ar color|
|00000650| 20 74 61 62 6c 65 20 66 | 6c 61 67 73 2e 20 54 68 | table f|lags. Th|
|00000660| 69 73 20 77 61 73 20 68 | 61 63 6b 65 64 20 69 6e |is was h|acked in|
|00000670| 20 74 6f 20 73 75 70 70 | 6f 72 74 20 74 68 65 20 | to supp|ort the |
|00000680| 6e 65 65 64 20 74 6f 20 | 63 6c 65 61 72 20 61 6e |need to |clear an|
|00000690| 64 0d 09 73 65 74 20 62 | 69 74 20 31 34 20 77 68 |d..set b|it 14 wh|
|000006a0| 65 6e 20 77 65 20 73 61 | 76 65 20 74 68 65 20 50 |en we sa|ve the P|
|000006b0| 69 78 4d 61 70 20 74 6f | 20 64 69 73 6b 2e 20 4c |ixMap to| disk. L|
|000006c0| 6f 63 6b 54 68 65 50 69 | 78 65 6c 73 20 61 6e 64 |ockThePi|xels and|
|000006d0| 20 55 6e 6c 6f 63 6b 54 | 68 65 50 69 78 65 6c 73 | UnlockT|hePixels|
|000006e0| 0d 09 69 73 20 63 61 6c | 6c 65 64 20 77 68 65 6e |..is cal|led when|
|000006f0| 65 76 65 72 20 77 65 20 | 68 61 76 65 20 74 6f 20 |ever we |have to |
|00000700| 70 65 72 66 6f 72 6d 20 | 73 6f 6d 65 20 51 75 69 |perform |some Qui|
|00000710| 63 6b 44 72 61 77 20 6f | 70 65 72 61 74 69 6f 6e |ckDraw o|peration|
|00000720| 2c 20 6c 69 6b 65 20 43 | 6f 70 79 42 69 74 73 2e |, like C|opyBits.|
|00000730| 0d 09 54 68 69 73 20 69 | 73 20 6f 6e 6c 79 20 6e |..This i|s only n|
|00000740| 65 65 64 65 64 20 66 6f | 72 20 74 68 65 20 54 4e |eeded fo|r the TN|
|00000750| 65 77 43 6f 6f 6c 4f 66 | 66 73 63 72 65 65 6e 20 |ewCoolOf|fscreen |
|00000760| 73 74 75 66 66 2c 20 61 | 6e 64 20 69 73 20 61 20 |stuff, a|nd is a |
|00000770| 6e 75 6c 6c 20 6f 70 65 | 72 61 74 69 6f 6e 0d 09 |null ope|ration..|
|00000780| 75 6e 65 72 20 54 4f 6c | 64 47 72 6f 73 73 4f 66 |uner TOl|dGrossOf|
|00000790| 66 73 63 72 65 65 6e 2e | 20 53 61 76 65 4f 6c 64 |fscreen.| SaveOld|
|000007a0| 57 6f 72 6c 64 20 61 6e | 64 20 53 65 74 75 70 4f |World an|d SetupO|
|000007b0| 66 66 57 6f 72 6c 64 20 | 61 72 65 20 75 73 65 64 |ffWorld |are used|
|000007c0| 20 66 6f 72 20 73 61 76 | 69 6e 67 0d 09 77 68 61 | for sav|ing..wha|
|000007d0| 74 65 76 65 72 20 70 6f | 72 74 20 61 6e 64 20 67 |tever po|rt and g|
|000007e0| 44 65 76 69 63 65 20 61 | 72 65 20 73 65 74 2c 20 |Device a|re set, |
|000007f0| 61 6e 64 20 73 77 61 70 | 70 69 6e 67 20 69 6e 20 |and swap|ping in |
|00000800| 74 68 65 20 6f 66 66 73 | 63 72 65 65 6e 20 64 72 |the offs|creen dr|
|00000810| 61 77 69 6e 67 0d 09 65 | 6e 76 69 72 6f 6e 6d 65 |awing..e|nvironme|
|00000820| 6e 74 2e 20 52 65 73 74 | 6f 72 65 4f 66 66 57 6f |nt. Rest|oreOffWo|
|00000830| 72 6c 64 20 69 73 20 63 | 61 6c 6c 65 64 20 77 68 |rld is c|alled wh|
|00000840| 65 6e 20 77 65 20 61 72 | 65 20 64 6f 6e 65 20 74 |en we ar|e done t|
|00000850| 6f 20 72 65 76 65 72 73 | 65 20 74 68 65 20 65 66 |o revers|e the ef|
|00000860| 66 65 63 74 73 0d 09 6f | 66 20 53 65 74 75 70 4f |fects..o|f SetupO|
|00000870| 66 66 57 6f 72 6c 64 2e | 20 4e 6f 6e 65 20 6f 66 |ffWorld.| None of|
|00000880| 20 74 68 65 73 65 20 6c | 61 73 74 20 35 20 72 6f | these l|ast 5 ro|
|00000890| 75 74 69 6e 65 73 20 28 | 4c 6f 63 6b 54 68 65 50 |utines (|LockTheP|
|000008a0| 69 78 65 6c 73 2c 0d 09 | 55 6e 6c 6f 63 6b 54 68 |ixels,..|UnlockTh|
|000008b0| 65 50 69 78 65 6c 73 2c | 20 53 61 76 65 4f 6c 64 |ePixels,| SaveOld|
|000008c0| 57 6f 72 6c 64 2c 20 53 | 65 74 75 70 4f 66 66 57 |World, S|etupOffW|
|000008d0| 6f 72 6c 64 2c 20 52 65 | 73 74 6f 72 65 4f 66 66 |orld, Re|storeOff|
|000008e0| 57 6f 72 6c 64 29 20 73 | 68 6f 75 6c 64 20 62 65 |World) s|hould be|
|000008f0| 20 63 61 6c 6c 65 64 0d | 09 64 69 72 65 63 74 6c | called.|.directl|
|00000900| 79 2c 20 61 73 20 74 68 | 65 79 20 61 72 65 20 63 |y, as th|ey are c|
|00000910| 6f 6d 62 69 6e 65 64 20 | 69 6e 20 74 68 65 20 50 |ombined |in the P|
|00000920| 72 65 44 72 61 77 20 61 | 6e 64 20 50 6f 73 74 44 |reDraw a|nd PostD|
|00000930| 72 61 77 20 72 6f 75 74 | 69 6e 65 73 2c 20 77 68 |raw rout|ines, wh|
|00000940| 69 63 68 20 74 61 6b 65 | 0d 09 63 61 72 65 20 6f |ich take|..care o|
|00000950| 66 20 61 6c 6c 20 74 68 | 65 20 6d 61 6e 61 67 65 |f all th|e manage|
|00000960| 6d 65 6e 74 2e 20 57 68 | 65 6e 65 76 65 72 20 79 |ment. Wh|enever y|
|00000970| 6f 75 20 6e 65 65 64 20 | 74 6f 20 64 6f 20 6f 66 |ou need |to do of|
|00000980| 66 73 63 72 65 65 6e 20 | 64 72 61 77 69 6e 67 2c |fscreen |drawing,|
|00000990| 20 63 61 6c 6c 0d 09 50 | 72 65 44 72 61 77 2c 20 | call..P|reDraw, |
|000009a0| 61 6e 64 20 74 68 65 6e | 20 50 6f 73 74 44 72 61 |and then| PostDra|
|000009b0| 77 20 77 68 65 6e 20 79 | 6f 75 20 61 72 65 20 64 |w when y|ou are d|
|000009c0| 6f 6e 65 2e 20 46 69 6e | 61 6c 6c 79 2c 20 69 66 |one. Fin|ally, if|
|000009d0| 20 79 6f 75 20 6e 65 65 | 64 20 74 6f 20 67 65 74 | you nee|d to get|
|000009e0| 20 74 68 65 0d 09 6f 66 | 66 73 63 72 65 65 6e 20 | the..of|fscreen |
|000009f0| 70 6f 72 74 20 66 6f 72 | 20 73 6f 6d 65 20 64 69 |port for| some di|
|00000a00| 72 65 63 74 20 6d 61 6e | 69 70 75 6c 61 74 69 6f |rect man|ipulatio|
|00000a10| 6e 20 28 6c 69 6b 65 20 | 66 6f 72 20 43 6f 70 79 |n (like |for Copy|
|00000a20| 42 69 74 73 29 2c 20 63 | 61 6c 6c 0d 09 47 65 74 |Bits), c|all..Get|
|00000a30| 4f 66 66 50 6f 72 74 2e | 0d 0d 2d 2d 2d 2d 2d 2d |OffPort.|..------|
|00000a40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000a50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000a60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000a70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000a80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000a90| 2d 2d 2d 2d 2d 2d 7d 0d | 0d 09 49 4e 54 45 52 46 |------}.|..INTERF|
|00000aa0| 41 43 45 0d 0d 09 09 55 | 53 45 53 20 55 4d 61 63 |ACE....U|SES UMac|
|00000ab0| 41 70 70 2c 20 51 44 4f | 66 66 53 63 72 65 65 6e |App, QDO|ffScreen|
|00000ac0| 3b 0d 0d 09 09 43 4f 4e | 53 54 0d 0d 09 09 09 6b |;....CON|ST.....k|
|00000ad0| 41 6e 69 6d 61 74 69 6f | 6e 46 6c 61 67 09 09 3d |Animatio|nFlag..=|
|00000ae0| 20 31 34 3b 0d 09 09 09 | 6b 43 6c 65 61 72 46 6c | 14;....|kClearFl|
|00000af0| 61 67 09 09 09 3d 20 46 | 41 4c 53 45 3b 0d 09 09 |ag...= F|ALSE;...|
|00000b00| 09 6b 53 65 74 46 6c 61 | 67 09 09 09 3d 20 54 52 |.kSetFla|g...= TR|
|00000b10| 55 45 3b 0d 0d 09 09 54 | 59 50 45 0d 0d 09 09 09 |UE;....T|YPE.....|
|00000b20| 54 4f 66 66 73 63 72 65 | 65 6e 09 09 09 3d 20 4f |TOffscre|en...= O|
|00000b30| 42 4a 45 43 54 20 28 54 | 4f 62 6a 65 63 74 29 0d |BJECT (T|Object).|
|00000b40| 0d 09 09 09 09 66 4f 6c | 64 44 65 76 69 63 65 3a |.....fOl|dDevice:|
|00000b50| 20 09 09 47 44 48 61 6e | 64 6c 65 3b 09 09 7b 20 | ..GDHan|dle;..{ |
|00000b60| 48 6f 6c 64 73 20 74 68 | 65 20 70 72 65 76 69 6f |Holds th|e previo|
|00000b70| 75 73 20 64 65 76 69 63 | 65 20 77 68 69 6c 65 20 |us devic|e while |
|00000b80| 77 65 d5 72 65 0d 09 09 | 09 09 09 09 09 09 09 09 |we.re...|........|
|00000b90| 09 09 09 20 62 75 73 79 | 20 70 6c 61 79 69 6e 67 |... busy| playing|
|00000ba0| 20 69 6e 20 74 68 65 20 | 6f 66 66 73 63 72 65 65 | in the |offscree|
|00000bb0| 6e 20 77 6f 72 6c 64 2e | 0d 09 09 09 09 09 09 09 |n world.|........|
|00000bc0| 09 09 09 09 09 09 20 59 | 6f 75 20 63 61 6e 20 66 |...... Y|ou can f|
|00000bd0| 65 74 63 68 20 74 68 65 | 20 64 65 76 69 63 65 20 |etch the| device |
|00000be0| 69 66 20 79 6f 75 20 6e | 65 65 64 20 74 6f 0d 09 |if you n|eed to..|
|00000bf0| 09 09 09 09 09 09 09 09 | 09 09 09 09 20 77 69 74 |........|.... wit|
|00000c00| 68 20 47 65 74 4f 6c 64 | 44 65 76 69 63 65 2e 20 |h GetOld|Device. |
|00000c10| 7d 0d 09 09 09 09 66 4f | 6c 64 50 6f 72 74 3a 09 |}.....fO|ldPort:.|
|00000c20| 09 09 47 72 61 66 50 74 | 72 3b 09 09 7b 20 48 6f |..GrafPt|r;..{ Ho|
|00000c30| 6c 64 73 20 74 68 65 20 | 70 72 65 76 69 6f 75 73 |lds the |previous|
|00000c40| 20 47 72 61 66 50 6f 72 | 74 20 77 68 69 6c 65 20 | GrafPor|t while |
|00000c50| 77 65 d5 72 65 0d 09 09 | 09 09 09 09 09 09 09 09 |we.re...|........|
|00000c60| 09 09 09 20 62 75 73 79 | 20 70 6c 61 79 69 6e 67 |... busy| playing|
|00000c70| 20 69 6e 20 74 68 65 20 | 6f 66 66 73 63 72 65 65 | in the |offscree|
|00000c80| 6e 20 77 6f 72 6c 64 2e | 0d 09 09 09 09 09 09 09 |n world.|........|
|00000c90| 09 09 09 09 09 09 20 59 | 6f 75 20 63 61 6e 20 66 |...... Y|ou can f|
|00000ca0| 65 74 63 68 20 74 68 65 | 20 70 6f 72 74 20 69 66 |etch the| port if|
|00000cb0| 20 79 6f 75 20 6e 65 65 | 64 20 74 6f 0d 09 09 09 | you nee|d to....|
|00000cc0| 09 09 09 09 09 09 09 09 | 09 09 20 77 69 74 68 20 |........|.. with |
|00000cd0| 47 65 74 4f 6c 64 50 6f | 72 74 2e 20 7d 0d 09 09 |GetOldPo|rt. }...|
|00000ce0| 09 09 50 52 4f 43 45 44 | 55 52 45 20 54 4f 66 66 |..PROCED|URE TOff|
|00000cf0| 73 63 72 65 65 6e 2e 49 | 4f 66 66 73 63 72 65 65 |screen.I|Offscree|
|00000d00| 6e 3b 0d 09 09 09 09 7b | 20 49 6e 69 74 69 61 6c |n;.....{| Initial|
|00000d10| 69 7a 65 20 74 68 65 20 | 6f 66 66 73 63 72 65 65 |ize the |offscree|
|00000d20| 6e 20 77 6f 72 6c 64 2e | 20 7d 0d 0d 09 09 09 09 |n world.| }......|
|00000d30| 50 52 4f 43 45 44 55 52 | 45 20 54 4f 66 66 73 63 |PROCEDUR|E TOffsc|
|00000d40| 72 65 65 6e 2e 43 68 61 | 6e 67 65 43 54 46 6c 61 |reen.Cha|ngeCTFla|
|00000d50| 67 28 77 68 69 63 68 42 | 69 74 3a 20 49 6e 74 65 |g(whichB|it: Inte|
|00000d60| 67 65 72 3b 20 77 68 69 | 63 68 57 61 79 3a 20 42 |ger; whi|chWay: B|
|00000d70| 6f 6f 6c 65 61 6e 29 3b | 0d 09 09 09 09 7b 20 53 |oolean);|.....{ S|
|00000d80| 65 74 20 6f 72 20 63 6c | 65 61 72 20 61 20 63 6f |et or cl|ear a co|
|00000d90| 6c 6f 72 20 74 61 62 6c | 65 20 66 6c 61 67 2e 20 |lor tabl|e flag. |
|00000da0| 7d 0d 0d 09 09 09 09 46 | 55 4e 43 54 49 4f 4e 20 |}......F|UNCTION |
|00000db0| 54 4f 66 66 73 63 72 65 | 65 6e 2e 47 65 74 4f 66 |TOffscre|en.GetOf|
|00000dc0| 66 44 65 76 69 63 65 3a | 20 47 44 48 61 6e 64 6c |fDevice:| GDHandl|
|00000dd0| 65 3b 0d 09 09 09 09 7b | 20 52 65 74 75 72 6e 20 |e;.....{| Return |
|00000de0| 74 68 65 20 47 44 48 61 | 6e 64 6c 65 20 6f 66 20 |the GDHa|ndle of |
|00000df0| 74 68 65 20 64 65 76 69 | 63 65 20 62 65 6c 6f 6e |the devi|ce belon|
|00000e00| 67 69 6e 67 20 74 6f 20 | 74 68 65 20 6f 66 66 73 |ging to |the offs|
|00000e10| 63 72 65 65 6e 20 70 6f | 72 74 2e 20 4d 75 73 74 |creen po|rt. Must|
|00000e20| 20 62 65 0d 09 09 09 09 | 20 20 6f 76 65 72 72 69 | be.....| overri|
|00000e30| 64 64 65 6e 2e 20 7d 0d | 0d 09 09 09 09 46 55 4e |dden. }.|.....FUN|
|00000e40| 43 54 49 4f 4e 20 54 4f | 66 66 73 63 72 65 65 6e |CTION TO|ffscreen|
|00000e50| 2e 47 65 74 4f 66 66 50 | 69 78 42 61 73 65 3a 20 |.GetOffP|ixBase: |
|00000e60| 50 74 72 3b 0d 09 09 09 | 09 7b 20 52 65 74 75 72 |Ptr;....|.{ Retur|
|00000e70| 6e 20 74 68 65 20 62 61 | 73 65 20 61 64 64 72 65 |n the ba|se addre|
|00000e80| 73 73 20 6f 66 20 6f 75 | 72 20 6f 66 66 73 63 72 |ss of ou|r offscr|
|00000e90| 65 65 6e 20 70 69 78 65 | 6c 73 2e 20 4d 75 73 74 |een pixe|ls. Must|
|00000ea0| 20 62 65 20 6f 76 65 72 | 72 69 64 64 65 6e 2e 20 | be over|ridden. |
|00000eb0| 7d 0d 0d 09 09 09 09 46 | 55 4e 43 54 49 4f 4e 20 |}......F|UNCTION |
|00000ec0| 54 4f 66 66 73 63 72 65 | 65 6e 2e 47 65 74 4f 66 |TOffscre|en.GetOf|
|00000ed0| 66 50 6f 72 74 3a 20 43 | 47 72 61 66 50 74 72 3b |fPort: C|GrafPtr;|
|00000ee0| 0d 09 09 09 09 7b 20 52 | 65 74 75 72 6e 20 61 20 |.....{ R|eturn a |
|00000ef0| 43 47 72 61 66 50 74 72 | 20 74 6f 20 74 68 65 20 |CGrafPtr| to the |
|00000f00| 6f 66 66 73 63 72 65 65 | 6e 20 70 6f 72 74 2e 20 |offscree|n port. |
|00000f10| 4d 75 73 74 20 62 65 20 | 6f 76 65 72 72 69 64 64 |Must be |overridd|
|00000f20| 65 6e 2e 20 7d 0d 0d 09 | 09 09 09 46 55 4e 43 54 |en. }...|...FUNCT|
|00000f30| 49 4f 4e 20 54 4f 66 66 | 73 63 72 65 65 6e 2e 47 |ION TOff|screen.G|
|00000f40| 65 74 4f 6c 64 44 65 76 | 69 63 65 3a 20 47 44 48 |etOldDev|ice: GDH|
|00000f50| 61 6e 64 6c 65 3b 0d 09 | 09 09 09 7b 20 52 65 74 |andle;..|...{ Ret|
|00000f60| 75 72 6e 20 61 20 47 44 | 48 61 6e 64 6c 65 20 74 |urn a GD|Handle t|
|00000f70| 6f 20 74 68 65 20 73 61 | 76 65 64 20 64 65 76 69 |o the sa|ved devi|
|00000f80| 63 65 2e 20 7d 0d 0d 09 | 09 09 09 46 55 4e 43 54 |ce. }...|...FUNCT|
|00000f90| 49 4f 4e 20 54 4f 66 66 | 73 63 72 65 65 6e 2e 47 |ION TOff|screen.G|
|00000fa0| 65 74 4f 6c 64 50 6f 72 | 74 3a 20 47 72 61 66 50 |etOldPor|t: GrafP|
|00000fb0| 74 72 3b 0d 09 09 09 09 | 7b 20 52 65 74 75 72 6e |tr;.....|{ Return|
|00000fc0| 20 61 20 47 72 61 66 50 | 74 72 20 74 6f 20 74 68 | a GrafP|tr to th|
|00000fd0| 65 20 73 61 76 65 64 20 | 70 6f 72 74 2e 20 7d 0d |e saved |port. }.|
|00000fe0| 0d 09 09 09 09 50 52 4f | 43 45 44 55 52 45 20 54 |.....PRO|CEDURE T|
|00000ff0| 4f 66 66 73 63 72 65 65 | 6e 2e 4c 6f 63 6b 54 68 |Offscree|n.LockTh|
|00001000| 65 50 69 78 65 6c 73 3b | 0d 09 09 09 09 7b 20 46 |ePixels;|.....{ F|
|00001010| 6f 72 20 33 32 42 43 51 | 44 20 73 75 70 70 6f 72 |or 32BCQ|D suppor|
|00001020| 74 2e 20 44 6f 65 73 20 | 6e 6f 74 68 69 6e 67 20 |t. Does |nothing |
|00001030| 62 79 20 64 65 66 61 75 | 6c 74 2e 20 7d 0d 0d 09 |by defau|lt. }...|
|00001040| 09 09 09 50 52 4f 43 45 | 44 55 52 45 20 54 4f 66 |...PROCE|DURE TOf|
|00001050| 66 73 63 72 65 65 6e 2e | 50 72 65 44 72 61 77 3b |fscreen.|PreDraw;|
|00001060| 0d 09 09 09 09 7b 20 43 | 61 6c 6c 20 74 68 69 73 |.....{ C|all this|
|00001070| 20 6d 65 74 68 6f 64 20 | 74 6f 20 73 61 76 65 20 | method |to save |
|00001080| 6f 66 66 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |off the |current |
|00001090| 64 72 61 77 69 6e 67 20 | 77 6f 72 6c 64 20 61 6e |drawing |world an|
|000010a0| 64 20 73 77 61 70 20 69 | 6e 20 74 68 65 0d 09 09 |d swap i|n the...|
|000010b0| 09 09 20 20 6f 66 66 73 | 63 72 65 65 6e 20 64 72 |.. offs|creen dr|
|000010c0| 61 77 69 6e 67 20 77 6f | 72 6c 64 2e 20 7d 0d 0d |awing wo|rld. }..|
|000010d0| 09 09 09 09 50 52 4f 43 | 45 44 55 52 45 20 54 4f |....PROC|EDURE TO|
|000010e0| 66 66 73 63 72 65 65 6e | 2e 50 6f 73 74 44 72 61 |ffscreen|.PostDra|
|000010f0| 77 3b 0d 09 09 09 09 7b | 20 43 61 6c 6c 20 74 68 |w;.....{| Call th|
|00001100| 69 73 20 6d 65 74 68 6f | 64 20 74 6f 20 72 65 73 |is metho|d to res|
|00001110| 74 6f 72 65 20 74 68 65 | 20 64 72 61 77 69 6e 67 |tore the| drawing|
|00001120| 20 77 6f 72 6c 64 20 73 | 61 76 65 64 20 62 79 20 | world s|aved by |
|00001130| 50 72 65 44 72 61 77 2e | 20 7d 0d 0d 09 09 09 09 |PreDraw.| }......|
|00001140| 50 52 4f 43 45 44 55 52 | 45 20 54 4f 66 66 73 63 |PROCEDUR|E TOffsc|
|00001150| 72 65 65 6e 2e 52 65 73 | 74 6f 72 65 4f 6c 64 57 |reen.Res|toreOldW|
|00001160| 6f 72 6c 64 3b 0d 09 09 | 09 09 7b 20 43 61 6c 6c |orld;...|..{ Call|
|00001170| 65 64 20 62 79 20 50 6f | 73 74 44 72 61 77 20 74 |ed by Po|stDraw t|
|00001180| 6f 20 72 65 73 74 6f 72 | 65 20 74 68 65 20 6f 6c |o restor|e the ol|
|00001190| 64 20 70 6f 72 74 20 61 | 6e 64 20 67 44 65 76 69 |d port a|nd gDevi|
|000011a0| 63 65 2e 20 53 68 6f 75 | 6c 64 20 6e 6f 74 20 6e |ce. Shou|ld not n|
|000011b0| 65 65 64 0d 09 09 09 09 | 20 20 74 6f 20 62 65 20 |eed.....| to be |
|000011c0| 63 61 6c 6c 65 64 20 64 | 69 72 65 63 74 6c 79 2e |called d|irectly.|
|000011d0| 20 50 6f 73 74 44 72 61 | 77 20 77 69 6c 6c 20 63 | PostDra|w will c|
|000011e0| 61 6c 6c 20 74 68 69 73 | 20 66 6f 72 20 79 6f 75 |all this| for you|
|000011f0| 2e 20 7d 0d 0d 09 09 09 | 09 50 52 4f 43 45 44 55 |. }.....|.PROCEDU|
|00001200| 52 45 20 54 4f 66 66 73 | 63 72 65 65 6e 2e 53 61 |RE TOffs|creen.Sa|
|00001210| 76 65 4f 6c 64 57 6f 72 | 6c 64 3b 0d 09 09 09 09 |veOldWor|ld;.....|
|00001220| 7b 20 43 61 6c 6c 65 64 | 20 62 79 20 50 72 65 44 |{ Called| by PreD|
|00001230| 72 61 77 20 74 6f 20 73 | 61 76 65 20 74 68 65 20 |raw to s|ave the |
|00001240| 6f 6c 64 20 70 6f 72 74 | 20 61 6e 64 20 67 44 65 |old port| and gDe|
|00001250| 76 69 63 65 2e 20 53 68 | 6f 75 6c 64 20 6e 6f 74 |vice. Sh|ould not|
|00001260| 20 6e 65 65 64 0d 09 09 | 09 09 20 20 74 6f 20 62 | need...|.. to b|
|00001270| 65 20 63 61 6c 6c 65 64 | 20 64 69 72 65 63 74 6c |e called| directl|
|00001280| 79 2e 20 50 72 65 44 72 | 61 77 20 77 69 6c 6c 20 |y. PreDr|aw will |
|00001290| 63 61 6c 6c 20 74 68 69 | 73 20 66 6f 72 20 79 6f |call thi|s for yo|
|000012a0| 75 2e 20 20 7d 0d 0d 09 | 09 09 09 50 52 4f 43 45 |u. }...|...PROCE|
|000012b0| 44 55 52 45 20 54 4f 66 | 66 73 63 72 65 65 6e 2e |DURE TOf|fscreen.|
|000012c0| 53 65 74 75 70 4f 66 66 | 57 6f 72 6c 64 3b 0d 09 |SetupOff|World;..|
|000012d0| 09 09 09 7b 20 43 61 6c | 6c 65 64 20 62 79 20 50 |...{ Cal|led by P|
|000012e0| 72 65 44 72 61 77 20 74 | 6f 20 73 65 74 20 74 68 |reDraw t|o set th|
|000012f0| 65 20 6f 66 66 73 63 72 | 65 65 6e 20 70 6f 72 74 |e offscr|een port|
|00001300| 20 61 6e 64 20 67 44 65 | 76 69 63 65 2e 20 4d 75 | and gDe|vice. Mu|
|00001310| 73 74 20 62 65 20 6f 76 | 65 72 72 69 64 64 65 6e |st be ov|erridden|
|00001320| 2e 0d 09 09 09 09 20 20 | 7d 0d 0d 09 09 09 09 50 |...... |}......P|
|00001330| 52 4f 43 45 44 55 52 45 | 20 54 4f 66 66 73 63 72 |ROCEDURE| TOffscr|
|00001340| 65 65 6e 2e 55 6e 6c 6f | 63 6b 54 68 65 50 69 78 |een.Unlo|ckThePix|
|00001350| 65 6c 73 3b 0d 09 09 09 | 09 7b 20 46 6f 72 20 33 |els;....|.{ For 3|
|00001360| 32 42 43 51 44 20 73 75 | 70 70 6f 72 74 2e 20 44 |2BCQD su|pport. D|
|00001370| 6f 65 73 20 6e 6f 74 68 | 69 6e 67 20 62 79 20 64 |oes noth|ing by d|
|00001380| 65 66 61 75 6c 74 2e 20 | 7d 0d 0d 09 09 09 09 50 |efault. |}......P|
|00001390| 52 4f 43 45 44 55 52 45 | 20 54 4f 66 66 73 63 72 |ROCEDURE| TOffscr|
|000013a0| 65 65 6e 2e 46 69 65 6c | 64 73 28 50 52 4f 43 45 |een.Fiel|ds(PROCE|
|000013b0| 44 55 52 45 0d 09 09 09 | 09 09 09 09 09 09 09 09 |DURE....|........|
|000013c0| 44 6f 54 6f 46 69 65 6c | 64 28 66 69 65 6c 64 4e |DoToFiel|d(fieldN|
|000013d0| 61 6d 65 3a 20 53 74 72 | 32 35 35 3b 20 66 69 65 |ame: Str|255; fie|
|000013e0| 6c 64 41 64 64 72 3a 20 | 50 74 72 3b 0d 09 09 09 |ldAddr: |Ptr;....|
|000013f0| 09 09 09 09 09 09 09 09 | 09 09 20 20 66 69 65 6c |........|.. fiel|
|00001400| 64 54 79 70 65 3a 20 49 | 6e 74 65 67 65 72 29 29 |dType: I|nteger))|
|00001410| 3b 20 4f 56 45 52 52 49 | 44 45 3b 0d 0d 09 09 09 |; OVERRI|DE;.....|
|00001420| 09 45 4e 44 3b 0d 0d 09 | 09 09 54 4f 6c 64 47 72 |.END;...|..TOldGr|
|00001430| 6f 73 73 4f 66 66 73 63 | 72 65 65 6e 09 3d 20 4f |ossOffsc|reen.= O|
|00001440| 42 4a 45 43 54 20 28 54 | 4f 66 66 73 63 72 65 65 |BJECT (T|Offscree|
|00001450| 6e 29 0d 0d 09 09 09 09 | 66 42 69 67 42 75 66 66 |n)......|fBigBuff|
|00001460| 3a 09 09 09 50 74 72 3b | 09 09 09 7b 20 54 68 65 |:...Ptr;|...{ The|
|00001470| 20 6d 65 6d 6f 72 79 20 | 74 6f 20 75 73 65 20 66 | memory |to use f|
|00001480| 6f 72 20 6f 75 72 20 70 | 69 78 65 6c 73 20 69 6e |or our p|ixels in|
|00001490| 20 74 68 65 0d 09 09 09 | 09 09 09 09 09 09 09 09 | the....|........|
|000014a0| 09 09 20 6f 66 66 73 63 | 72 65 65 6e 20 77 6f 72 |.. offsc|reen wor|
|000014b0| 6c 64 2e 20 59 6f 75 20 | 63 61 6e 20 67 65 74 20 |ld. You |can get |
|000014c0| 74 68 65 69 72 0d 09 09 | 09 09 09 09 09 09 09 09 |their...|........|
|000014d0| 09 09 09 20 61 64 64 72 | 65 73 73 20 77 69 74 68 |... addr|ess with|
|000014e0| 20 47 65 74 4f 66 66 50 | 69 78 42 61 73 65 2e 20 | GetOffP|ixBase. |
|000014f0| 7d 0d 09 09 09 09 66 4f | 66 66 44 65 76 69 63 65 |}.....fO|ffDevice|
|00001500| 3a 20 09 09 47 44 48 61 | 6e 64 6c 65 3b 09 09 7b |: ..GDHa|ndle;..{|
|00001510| 20 48 6f 6c 64 73 20 74 | 68 65 20 6f 66 66 73 63 | Holds t|he offsc|
|00001520| 72 65 65 6e 20 64 65 76 | 69 63 65 20 74 6f 20 75 |reen dev|ice to u|
|00001530| 73 65 20 77 68 65 6e 0d | 09 09 09 09 09 09 09 09 |se when.|........|
|00001540| 09 09 09 09 09 20 70 6c | 61 79 69 6e 67 20 77 69 |..... pl|aying wi|
|00001550| 74 68 20 74 68 65 20 6f | 66 66 73 63 72 65 65 6e |th the o|ffscreen|
|00001560| 20 77 6f 72 6c 64 2e 20 | 59 6f 75 0d 09 09 09 09 | world. |You.....|
|00001570| 09 09 09 09 09 09 09 09 | 09 20 63 61 6e 20 66 65 |........|. can fe|
|00001580| 74 63 68 20 74 68 65 20 | 64 65 76 69 63 65 20 69 |tch the |device i|
|00001590| 66 20 79 6f 75 20 6e 65 | 65 64 20 74 6f 0d 09 09 |f you ne|ed to...|
|000015a0| 09 09 09 09 09 09 09 09 | 09 09 09 20 77 69 74 68 |........|... with|
|000015b0| 20 47 65 74 4f 66 66 44 | 65 76 69 63 65 2e 20 7d | GetOffD|evice. }|
|000015c0| 0d 09 09 09 09 66 4f 66 | 66 50 6f 72 74 3a 09 09 |.....fOf|fPort:..|
|000015d0| 09 43 47 72 61 66 50 74 | 72 3b 09 09 7b 20 48 6f |.CGrafPt|r;..{ Ho|
|000015e0| 6c 64 73 20 74 68 65 20 | 6f 66 66 73 63 72 65 65 |lds the |offscree|
|000015f0| 6e 20 47 72 61 66 50 6f | 72 74 20 74 6f 20 75 73 |n GrafPo|rt to us|
|00001600| 65 0d 09 09 09 09 09 09 | 09 09 09 09 09 09 09 20 |e.......|....... |
|00001610| 77 68 65 6e 20 70 6c 61 | 79 69 6e 67 20 77 69 74 |when pla|ying wit|
|00001620| 68 20 74 68 65 20 6f 66 | 66 73 63 72 65 65 6e 20 |h the of|fscreen |
|00001630| 77 6f 72 6c 64 2e 0d 09 | 09 09 09 09 09 09 09 09 |world...|........|
|00001640| 09 09 09 09 20 59 6f 75 | 20 63 61 6e 20 66 65 74 |.... You| can fet|
|00001650| 63 68 20 74 68 65 20 70 | 6f 72 74 20 69 66 20 79 |ch the p|ort if y|
|00001660| 6f 75 20 6e 65 65 64 20 | 74 6f 0d 09 09 09 09 09 |ou need |to......|
|00001670| 09 09 09 09 09 09 09 09 | 20 77 69 74 68 20 47 65 |........| with Ge|
|00001680| 74 4f 66 66 50 6f 72 74 | 2e 20 7d 0d 0d 09 09 09 |tOffPort|. }.....|
|00001690| 09 50 52 4f 43 45 44 55 | 52 45 20 54 4f 6c 64 47 |.PROCEDU|RE TOldG|
|000016a0| 72 6f 73 73 4f 66 66 73 | 63 72 65 65 6e 2e 49 4f |rossOffs|creen.IO|
|000016b0| 6c 64 47 72 6f 73 73 4f | 66 66 73 63 72 65 65 6e |ldGrossO|ffscreen|
|000016c0| 28 6f 66 66 42 6f 75 6e | 64 73 3a 20 52 65 63 74 |(offBoun|ds: Rect|
|000016d0| 3b 0d 09 09 09 09 09 09 | 09 09 09 09 09 09 09 09 |;.......|........|
|000016e0| 09 09 69 74 73 43 6f 6c | 6f 72 73 3a 20 43 54 61 |..itsCol|ors: CTa|
|000016f0| 62 48 61 6e 64 6c 65 29 | 3b 0d 09 09 09 09 7b 20 |bHandle)|;.....{ |
|00001700| 43 72 65 61 74 65 20 61 | 6e 64 20 69 6e 69 74 69 |Create a|nd initi|
|00001710| 61 6c 69 7a 65 20 61 6e | 20 6f 66 66 73 63 72 65 |alize an| offscre|
|00001720| 65 6e 20 64 72 61 77 69 | 6e 67 20 65 6e 76 69 72 |en drawi|ng envir|
|00001730| 6f 6e 6d 65 6e 74 20 75 | 73 69 6e 67 20 74 68 65 |onment u|sing the|
|00001740| 20 72 6f 75 74 69 6e 65 | 73 0d 09 09 09 09 20 20 | routine|s..... |
|00001750| 64 65 73 63 72 69 62 65 | 64 20 69 6e 20 49 6e 73 |describe|d in Ins|
|00001760| 69 64 65 20 4d 61 63 20 | 56 2e 20 54 68 65 20 6f |ide Mac |V. The o|
|00001770| 66 66 73 63 72 65 65 6e | 20 77 6f 72 6c 64 20 73 |ffscreen| world s|
|00001780| 69 7a 65 20 69 73 20 73 | 70 65 63 69 66 69 65 64 |ize is s|pecified|
|00001790| 20 62 79 0d 09 09 09 09 | 20 20 d2 6f 66 66 42 6f | by.....| .offBo|
|000017a0| 75 6e 64 d3 2c 20 61 6e | 64 20 75 73 65 73 20 74 |und., an|d uses t|
|000017b0| 68 65 20 63 6f 6c 6f 72 | 73 20 69 6e 20 69 74 73 |he color|s in its|
|000017c0| 43 6f 6c 6f 72 73 2e 20 | 49 74 20 6d 61 6b 65 73 |Colors. |It makes|
|000017d0| 20 61 20 63 6f 70 79 20 | 6f 66 20 74 68 65 0d 09 | a copy |of the..|
|000017e0| 09 09 09 20 20 74 61 62 | 6c 65 2e 20 7d 0d 0d 09 |... tab|le. }...|
|000017f0| 09 09 09 50 52 4f 43 45 | 44 55 52 45 20 54 4f 6c |...PROCE|DURE TOl|
|00001800| 64 47 72 6f 73 73 4f 66 | 66 73 63 72 65 65 6e 2e |dGrossOf|fscreen.|
|00001810| 46 72 65 65 3b 20 4f 56 | 45 52 52 49 44 45 3b 0d |Free; OV|ERRIDE;.|
|00001820| 0d 09 09 09 09 46 55 4e | 43 54 49 4f 4e 20 54 4f |.....FUN|CTION TO|
|00001830| 6c 64 47 72 6f 73 73 4f | 66 66 73 63 72 65 65 6e |ldGrossO|ffscreen|
|00001840| 2e 47 65 74 4f 66 66 44 | 65 76 69 63 65 3a 20 47 |.GetOffD|evice: G|
|00001850| 44 48 61 6e 64 6c 65 3b | 20 4f 56 45 52 52 49 44 |DHandle;| OVERRID|
|00001860| 45 3b 0d 09 09 09 09 46 | 55 4e 43 54 49 4f 4e 20 |E;.....F|UNCTION |
|00001870| 54 4f 6c 64 47 72 6f 73 | 73 4f 66 66 73 63 72 65 |TOldGros|sOffscre|
|00001880| 65 6e 2e 47 65 74 4f 66 | 66 50 69 78 42 61 73 65 |en.GetOf|fPixBase|
|00001890| 3a 20 50 74 72 3b 20 4f | 56 45 52 52 49 44 45 3b |: Ptr; O|VERRIDE;|
|000018a0| 0d 09 09 09 09 46 55 4e | 43 54 49 4f 4e 20 54 4f |.....FUN|CTION TO|
|000018b0| 6c 64 47 72 6f 73 73 4f | 66 66 73 63 72 65 65 6e |ldGrossO|ffscreen|
|000018c0| 2e 47 65 74 4f 66 66 50 | 6f 72 74 3a 20 43 47 72 |.GetOffP|ort: CGr|
|000018d0| 61 66 50 74 72 3b 20 4f | 56 45 52 52 49 44 45 3b |afPtr; O|VERRIDE;|
|000018e0| 0d 0d 09 09 09 09 50 52 | 4f 43 45 44 55 52 45 20 |......PR|OCEDURE |
|000018f0| 54 4f 6c 64 47 72 6f 73 | 73 4f 66 66 73 63 72 65 |TOldGros|sOffscre|
|00001900| 65 6e 2e 53 65 74 75 70 | 4f 66 66 57 6f 72 6c 64 |en.Setup|OffWorld|
|00001910| 3b 20 4f 56 45 52 52 49 | 44 45 3b 0d 09 09 09 09 |; OVERRI|DE;.....|
|00001920| 7b 20 54 68 65 20 64 65 | 66 61 75 6c 74 20 53 65 |{ The de|fault Se|
|00001930| 74 75 70 4f 66 66 57 6f | 72 6c 64 20 64 6f 65 73 |tupOffWo|rld does|
|00001940| 6e d5 74 20 64 6f 20 61 | 6e 79 74 68 69 6e 67 20 |n.t do a|nything |
|00001950| 62 65 63 61 75 73 65 20 | 69 74 20 64 6f 65 73 6e |because |it doesn|
|00001960| d5 74 20 6b 6e 6f 77 20 | 77 68 61 74 0d 09 09 09 |.t know |what....|
|00001970| 09 20 20 66 6f 72 6d 20 | 6f 75 72 20 6f 66 66 73 |. form |our offs|
|00001980| 63 72 65 65 6e 20 6d 61 | 6e 61 67 65 6d 65 6e 74 |creen ma|nagement|
|00001990| 20 74 61 6b 65 73 2e 20 | 53 6f 20 77 65 20 68 61 | takes. |So we ha|
|000019a0| 76 65 20 74 6f 20 6f 76 | 65 72 72 69 64 65 20 69 |ve to ov|erride i|
|000019b0| 74 20 68 65 72 65 2e 20 | 7d 0d 0d 09 09 09 09 50 |t here. |}......P|
|000019c0| 52 4f 43 45 44 55 52 45 | 20 54 4f 6c 64 47 72 6f |ROCEDURE| TOldGro|
|000019d0| 73 73 4f 66 66 73 63 72 | 65 65 6e 2e 46 69 65 6c |ssOffscr|een.Fiel|
|000019e0| 64 73 28 50 52 4f 43 45 | 44 55 52 45 0d 09 09 09 |ds(PROCE|DURE....|
|000019f0| 09 09 09 09 09 09 09 09 | 09 09 44 6f 54 6f 46 69 |........|..DoToFi|
|00001a00| 65 6c 64 28 66 69 65 6c | 64 4e 61 6d 65 3a 20 53 |eld(fiel|dName: S|
|00001a10| 74 72 32 35 35 3b 0d 09 | 09 09 09 09 09 09 09 09 |tr255;..|........|
|00001a20| 09 09 09 09 09 09 20 20 | 66 69 65 6c 64 41 64 64 |...... |fieldAdd|
|00001a30| 72 3a 20 50 74 72 3b 0d | 09 09 09 09 09 09 09 09 |r: Ptr;.|........|
|00001a40| 09 09 09 09 09 09 09 20 | 20 66 69 65 6c 64 54 79 |....... | fieldTy|
|00001a50| 70 65 3a 20 49 6e 74 65 | 67 65 72 29 29 3b 20 4f |pe: Inte|ger)); O|
|00001a60| 56 45 52 52 49 44 45 0d | 09 09 09 09 09 3b 0d 0d |VERRIDE.|.....;..|
|00001a70| 09 09 09 09 45 4e 44 3b | 0d 0d 09 09 09 54 4e 65 |....END;|.....TNe|
|00001a80| 77 43 6f 6f 6c 4f 66 66 | 73 63 72 65 65 6e 09 3d |wCoolOff|screen.=|
|00001a90| 20 4f 42 4a 45 43 54 20 | 28 54 4f 66 66 73 63 72 | OBJECT |(TOffscr|
|00001aa0| 65 65 6e 29 0d 0d 09 09 | 09 09 66 4f 66 66 57 6f |een)....|..fOffWo|
|00001ab0| 72 6c 64 3a 09 09 09 47 | 57 6f 72 6c 64 50 74 72 |rld:...G|WorldPtr|
|00001ac0| 3b 0d 0d 09 09 09 09 50 | 52 4f 43 45 44 55 52 45 |;......P|ROCEDURE|
|00001ad0| 20 54 4e 65 77 43 6f 6f | 6c 4f 66 66 73 63 72 65 | TNewCoo|lOffscre|
|00001ae0| 65 6e 2e 49 4e 65 77 43 | 6f 6f 6c 4f 66 66 73 63 |en.INewC|oolOffsc|
|00001af0| 72 65 65 6e 28 6f 66 66 | 42 6f 75 6e 64 73 3a 20 |reen(off|Bounds: |
|00001b00| 52 65 63 74 3b 0d 09 09 | 09 09 09 09 09 09 09 09 |Rect;...|........|
|00001b10| 09 09 09 09 09 20 20 69 | 74 73 43 6f 6c 6f 72 73 |..... i|tsColors|
|00001b20| 3a 20 43 54 61 62 48 61 | 6e 64 6c 65 29 3b 0d 09 |: CTabHa|ndle);..|
|00001b30| 09 09 09 7b 20 43 72 65 | 61 74 65 20 61 6e 64 20 |...{ Cre|ate and |
|00001b40| 69 6e 69 74 69 61 6c 69 | 7a 65 20 61 6e 20 6f 66 |initiali|ze an of|
|00001b50| 66 73 63 72 65 65 6e 20 | 64 72 61 77 69 6e 67 20 |fscreen |drawing |
|00001b60| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 75 73 69 6e |environm|ent usin|
|00001b70| 67 20 74 68 65 20 33 32 | 2d 62 69 74 20 43 6f 6c |g the 32|-bit Col|
|00001b80| 6f 72 0d 09 09 09 09 20 | 20 51 75 69 63 6b 44 72 |or..... | QuickDr|
|00001b90| 61 77 20 72 6f 75 74 69 | 6e 65 73 2e 20 54 68 65 |aw routi|nes. The|
|00001ba0| 20 6f 66 66 73 63 72 65 | 65 6e 20 77 6f 72 6c 64 | offscre|en world|
|00001bb0| 20 73 69 7a 65 20 69 73 | 20 73 70 65 63 69 66 69 | size is| specifi|
|00001bc0| 65 64 20 62 79 20 d2 6f | 66 66 42 6f 75 6e 64 d3 |ed by .o|ffBound.|
|00001bd0| 2c 20 61 6e 64 0d 09 09 | 09 09 20 20 75 73 65 73 |, and...|.. uses|
|00001be0| 20 74 68 65 20 63 6f 6c | 6f 72 73 20 69 6e 20 69 | the col|ors in i|
|00001bf0| 74 73 43 6f 6c 6f 72 73 | 2e 20 49 74 20 6d 61 6b |tsColors|. It mak|
|00001c00| 65 73 20 61 20 63 6f 70 | 79 20 6f 66 20 74 68 65 |es a cop|y of the|
|00001c10| 20 74 61 62 6c 65 2e 20 | 7d 0d 0d 09 09 09 09 50 | table. |}......P|
|00001c20| 52 4f 43 45 44 55 52 45 | 20 54 4e 65 77 43 6f 6f |ROCEDURE| TNewCoo|
|00001c30| 6c 4f 66 66 73 63 72 65 | 65 6e 2e 46 72 65 65 3b |lOffscre|en.Free;|
|00001c40| 20 4f 56 45 52 52 49 44 | 45 3b 0d 0d 09 09 09 09 | OVERRID|E;......|
|00001c50| 46 55 4e 43 54 49 4f 4e | 20 54 4e 65 77 43 6f 6f |FUNCTION| TNewCoo|
|00001c60| 6c 4f 66 66 73 63 72 65 | 65 6e 2e 47 65 74 4f 66 |lOffscre|en.GetOf|
|00001c70| 66 44 65 76 69 63 65 3a | 20 47 44 48 61 6e 64 6c |fDevice:| GDHandl|
|00001c80| 65 3b 20 4f 56 45 52 52 | 49 44 45 3b 0d 09 09 09 |e; OVERR|IDE;....|
|00001c90| 09 46 55 4e 43 54 49 4f | 4e 20 54 4e 65 77 43 6f |.FUNCTIO|N TNewCo|
|00001ca0| 6f 6c 4f 66 66 73 63 72 | 65 65 6e 2e 47 65 74 4f |olOffscr|een.GetO|
|00001cb0| 66 66 50 69 78 42 61 73 | 65 3a 20 50 74 72 3b 20 |ffPixBas|e: Ptr; |
|00001cc0| 4f 56 45 52 52 49 44 45 | 3b 0d 09 09 09 09 46 55 |OVERRIDE|;.....FU|
|00001cd0| 4e 43 54 49 4f 4e 20 54 | 4e 65 77 43 6f 6f 6c 4f |NCTION T|NewCoolO|
|00001ce0| 66 66 73 63 72 65 65 6e | 2e 47 65 74 4f 66 66 50 |ffscreen|.GetOffP|
|00001cf0| 6f 72 74 3a 20 43 47 72 | 61 66 50 74 72 3b 20 4f |ort: CGr|afPtr; O|
|00001d00| 56 45 52 52 49 44 45 3b | 0d 0d 09 09 09 09 50 52 |VERRIDE;|......PR|
|00001d10| 4f 43 45 44 55 52 45 20 | 54 4e 65 77 43 6f 6f 6c |OCEDURE |TNewCool|
|00001d20| 4f 66 66 73 63 72 65 65 | 6e 2e 4c 6f 63 6b 54 68 |Offscree|n.LockTh|
|00001d30| 65 50 69 78 65 6c 73 3b | 20 4f 56 45 52 52 49 44 |ePixels;| OVERRID|
|00001d40| 45 3b 0d 0d 09 09 09 09 | 50 52 4f 43 45 44 55 52 |E;......|PROCEDUR|
|00001d50| 45 20 54 4e 65 77 43 6f | 6f 6c 4f 66 66 73 63 72 |E TNewCo|olOffscr|
|00001d60| 65 65 6e 2e 50 6f 73 74 | 44 72 61 77 3b 20 4f 56 |een.Post|Draw; OV|
|00001d70| 45 52 52 49 44 45 3b 0d | 09 09 09 09 7b 20 54 68 |ERRIDE;.|....{ Th|
|00001d80| 65 20 62 61 73 65 20 50 | 6f 73 74 44 72 61 77 20 |e base P|ostDraw |
|00001d90| 77 69 6c 6c 20 73 65 74 | 20 74 68 65 20 70 6f 72 |will set| the por|
|00001da0| 74 20 61 6e 64 20 67 44 | 65 76 69 63 65 20 63 6f |t and gD|evice co|
|00001db0| 72 72 65 63 74 6c 79 2e | 20 48 6f 77 65 76 65 72 |rrectly.| However|
|00001dc0| 2c 20 62 65 66 6f 72 65 | 20 69 74 0d 09 09 09 09 |, before| it.....|
|00001dd0| 20 20 64 6f 65 73 20 74 | 68 61 74 2c 20 77 65 20 | does t|hat, we |
|00001de0| 68 61 76 65 20 74 6f 20 | 6d 61 6b 65 20 73 75 72 |have to |make sur|
|00001df0| 65 20 74 68 61 74 20 77 | 65 20 75 6e 6c 6f 63 6b |e that w|e unlock|
|00001e00| 20 6f 75 72 20 6f 66 66 | 73 63 72 65 65 6e 20 62 | our off|screen b|
|00001e10| 69 74 20 73 6f 20 74 68 | 61 74 20 74 68 65 0d 09 |it so th|at the..|
|00001e20| 09 09 09 20 20 63 61 6e | 20 66 6c 6f 61 74 20 61 |... can| float a|
|00001e30| 72 6f 75 6e 64 20 61 6e | 64 20 6e 6f 74 20 66 72 |round an|d not fr|
|00001e40| 61 67 6d 65 6e 74 20 6f | 75 72 20 68 65 61 70 2e |agment o|ur heap.|
|00001e50| 20 7d 0d 0d 09 09 09 09 | 50 52 4f 43 45 44 55 52 | }......|PROCEDUR|
|00001e60| 45 20 54 4e 65 77 43 6f | 6f 6c 4f 66 66 73 63 72 |E TNewCo|olOffscr|
|00001e70| 65 65 6e 2e 53 65 74 75 | 70 4f 66 66 57 6f 72 6c |een.Setu|pOffWorl|
|00001e80| 64 3b 20 4f 56 45 52 52 | 49 44 45 3b 0d 09 09 09 |d; OVERR|IDE;....|
|00001e90| 09 7b 20 54 68 65 20 64 | 65 66 61 75 6c 74 20 53 |.{ The d|efault S|
|00001ea0| 65 74 75 70 4f 66 66 57 | 6f 72 6c 64 20 64 6f 65 |etupOffW|orld doe|
|00001eb0| 73 6e d5 74 20 64 6f 20 | 61 6e 79 74 68 69 6e 67 |sn.t do |anything|
|00001ec0| 20 62 65 63 61 75 73 65 | 20 69 74 20 64 6f 65 73 | because| it does|
|00001ed0| 6e d5 74 20 6b 6e 6f 77 | 20 77 68 61 74 0d 09 09 |n.t know| what...|
|00001ee0| 09 09 20 20 66 6f 72 6d | 20 6f 75 72 20 6f 66 66 |.. form| our off|
|00001ef0| 73 63 72 65 65 6e 20 6d | 61 6e 61 67 65 6d 65 6e |screen m|anagemen|
|00001f00| 74 20 74 61 6b 65 73 2e | 20 53 6f 20 77 65 20 68 |t takes.| So we h|
|00001f10| 61 76 65 20 74 6f 20 6f | 76 65 72 72 69 64 65 20 |ave to o|verride |
|00001f20| 69 74 20 68 65 72 65 2e | 20 7d 0d 0d 09 09 09 09 |it here.| }......|
|00001f30| 50 52 4f 43 45 44 55 52 | 45 20 54 4e 65 77 43 6f |PROCEDUR|E TNewCo|
|00001f40| 6f 6c 4f 66 66 73 63 72 | 65 65 6e 2e 55 6e 6c 6f |olOffscr|een.Unlo|
|00001f50| 63 6b 54 68 65 50 69 78 | 65 6c 73 3b 20 4f 56 45 |ckThePix|els; OVE|
|00001f60| 52 52 49 44 45 3b 0d 0d | 09 09 09 09 50 52 4f 43 |RRIDE;..|....PROC|
|00001f70| 45 44 55 52 45 20 54 4e | 65 77 43 6f 6f 6c 4f 66 |EDURE TN|ewCoolOf|
|00001f80| 66 73 63 72 65 65 6e 2e | 46 69 65 6c 64 73 28 50 |fscreen.|Fields(P|
|00001f90| 52 4f 43 45 44 55 52 45 | 0d 09 09 09 09 09 09 09 |ROCEDURE|........|
|00001fa0| 09 09 09 09 09 20 20 20 | 44 6f 54 6f 46 69 65 6c |..... |DoToFiel|
|00001fb0| 64 28 66 69 65 6c 64 4e | 61 6d 65 3a 20 53 74 72 |d(fieldN|ame: Str|
|00001fc0| 32 35 35 3b 0d 09 09 09 | 09 09 09 09 09 09 09 09 |255;....|........|
|00001fd0| 09 09 09 09 20 66 69 65 | 6c 64 41 64 64 72 3a 20 |.... fie|ldAddr: |
|00001fe0| 50 74 72 3b 0d 09 09 09 | 09 09 09 09 09 09 09 09 |Ptr;....|........|
|00001ff0| 09 09 09 09 20 66 69 65 | 6c 64 54 79 70 65 3a 20 |.... fie|ldType: |
|00002000| 49 6e 74 65 67 65 72 29 | 29 3b 20 4f 56 45 52 52 |Integer)|); OVERR|
|00002010| 49 44 45 3b 0d 0d 09 09 | 09 09 45 4e 44 3b 0d 0d |IDE;....|..END;..|
|00002020| 09 49 4d 50 4c 45 4d 45 | 4e 54 41 54 49 4f 4e 0d |.IMPLEME|NTATION.|
|00002030| 0d 09 09 7b 24 49 20 55 | 4f 66 66 73 63 72 65 65 |...{$I U|Offscree|
|00002040| 6e 2e 69 6e 63 31 2e 70 | 7d 0d 0d 45 4e 44 2e 0d |n.inc1.p|}..END..|
|00002050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002080| 00 00 01 00 00 00 05 f6 | 00 00 04 f6 00 00 00 4a |........|.......J|
|00002090| 74 61 62 20 2d 74 20 34 | 20 2d 61 20 2d 62 6f 64 |tab -t 4| -a -bod|
|000020a0| 79 20 2d 68 20 2d 6e 20 | 2d 6f 20 31 30 30 20 2d |y -h -n |-o 100 -|
|000020b0| 0c 55 4f 66 66 73 63 72 | 65 65 6e 2e 70 72 02 00 |.UOffscr|een.pr..|
|000020c0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 00 14 00 c0 |..TEXTMP|S ......|
|000020d0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 00 14 00 c0 |..TEXTMP|S ......|
|000020e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020f0| 00 00 a2 64 55 de 00 00 | 00 00 00 00 06 40 0d 23 |...dU...|.....@.#|
|00002100| 09 09 53 65 74 20 50 61 | 73 4d 61 74 4f 70 74 73 |..Set Pa|sMatOpts|
|00002110| 20 22 2d 6e 20 2d 78 20 | 2d 79 20 2d 7a 20 2d 63 | "-n -x |-y -z -c|
|00002120| 20 2d 75 20 2d 72 20 2d | 23 20 2d 3a 20 2d 72 65 | -u -r -|# -: -re|
|00002130| 63 20 2d 65 6e 74 61 62 | 20 2d 74 20 32 22 0d 09 |c -entab| -t 2"..|
|00002140| 09 53 65 74 20 50 61 73 | 4d 61 74 4f 70 74 73 20 |.Set Pas|MatOpts |
|00002150| 22 2d 63 20 2d 65 6e 74 | 61 62 20 2d 68 20 2d 6b |"-c -ent|ab -h -k|
|00002160| 20 2d 6e 20 2d 6f 20 31 | 30 30 20 2d 72 20 2d 72 | -n -o 1|00 -r -r|
|00002170| 65 63 20 2d 74 20 34 20 | 2d 75 20 2d 3a 20 2d 23 |ec -t 4 |-u -: -#|
|00002180| 00 00 00 1e 00 2a 00 05 | 01 d3 02 73 00 2a 00 05 |.....*..|...s.*..|
|00002190| 01 d3 02 73 00 00 00 00 | 00 00 00 00 00 00 00 00 |...s....|........|
|000021a0| 00 00 00 00 00 48 00 09 | 4d 6f 6e 61 63 6f 00 54 |.....H..|Monaco.T|
|000021b0| 4f 62 6a 65 63 74 29 0d | 09 09 0d 09 09 09 50 52 |Object).|......PR|
|000021c0| 4f 43 45 44 55 52 45 20 | 00 06 00 04 00 2a 00 05 |OCEDURE |.....*..|
|000021d0| 01 d3 02 5d 00 2a 00 05 | 01 d3 02 5d a2 3b 9d c0 |...].*..|...].;..|
|000021e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 01 00 00 00 |........|........|
|000021f0| 04 84 00 21 00 00 00 24 | 00 00 00 2e 0b 55 4f 66 |...!...$|.....UOf|
|00002200| 66 73 63 72 65 65 6e 00 | 00 00 0c 6c 00 00 0c 81 |fscreen.|...l....|
|00002210| 15 54 4f 66 66 73 63 72 | 65 65 6e 2e 49 4f 66 66 |.TOffscr|een.IOff|
|00002220| 73 63 72 65 65 6e 00 00 | 0c ba 00 00 0c d1 17 54 |screen..|.......T|
|00002230| 4f 66 66 73 63 72 65 65 | 6e 2e 43 68 61 6e 67 65 |Offscree|n.Change|
|00002240| 43 54 46 6c 61 67 00 00 | 0d 30 00 00 0d 47 17 54 |CTFlag..|.0...G.T|
|00002250| 4f 66 66 73 63 72 65 65 | 6e 2e 47 65 74 4f 66 66 |Offscree|n.GetOff|
|00002260| 44 65 76 69 63 65 00 00 | 0d c6 00 00 0d de 19 54 |Device..|.......T|
|00002270| 4f 66 66 73 63 72 65 65 | 6e 2e 47 65 74 4f 66 66 |Offscree|n.GetOff|
|00002280| 50 69 78 42 61 73 65 00 | 00 00 0e 40 00 00 0e 55 |PixBase.|...@...U|
|00002290| 15 54 4f 66 66 73 63 72 | 65 65 6e 2e 47 65 74 4f |.TOffscr|een.GetO|
|000022a0| 66 66 50 6f 72 74 00 00 | 0e b4 00 00 0e cb 17 54 |ffPort..|.......T|
|000022b0| 4f 66 66 73 63 72 65 65 | 6e 2e 47 65 74 4f 6c 64 |Offscree|n.GetOld|
|000022c0| 44 65 76 69 63 65 00 00 | 0f 14 00 00 0f 29 15 54 |Device..|.....).T|
|000022d0| 4f 66 66 73 63 72 65 65 | 6e 2e 47 65 74 4f 6c 64 |Offscree|n.GetOld|
|000022e0| 50 6f 72 74 00 00 0f 6f | 00 00 0f 87 19 54 4f 66 |Port...o|.....TOf|
|000022f0| 66 73 63 72 65 65 6e 2e | 4c 6f 63 6b 54 68 65 50 |fscreen.|LockTheP|
|00002300| 69 78 65 6c 73 00 00 00 | 0f cd 00 00 0f df 13 54 |ixels...|.......T|
|00002310| 4f 66 66 73 63 72 65 65 | 6e 2e 50 72 65 44 72 61 |Offscree|n.PreDra|
|00002320| 77 00 00 00 10 5e 00 00 | 10 71 13 54 4f 66 66 73 |w....^..|.q.TOffs|
|00002330| 63 72 65 65 6e 2e 50 6f | 73 74 44 72 61 77 00 00 |creen.Po|stDraw..|
|00002340| 10 ca 00 00 10 e4 1b 54 | 4f 66 66 73 63 72 65 65 |.......T|Offscree|
|00002350| 6e 2e 52 65 73 74 6f 72 | 65 4f 6c 64 57 6f 72 6c |n.Restor|eOldWorl|
|00002360| 64 00 00 00 11 83 00 00 | 11 9a 17 54 4f 66 66 73 |d.......|...TOffs|
|00002370| 63 72 65 65 6e 2e 53 61 | 76 65 4f 6c 64 57 6f 72 |creen.Sa|veOldWor|
|00002380| 6c 64 00 00 12 35 00 00 | 12 4d 19 54 4f 66 66 73 |ld...5..|.M.TOffs|
|00002390| 63 72 65 65 6e 2e 53 65 | 74 75 70 4f 66 66 57 6f |creen.Se|tupOffWo|
|000023a0| 72 6c 64 00 00 00 12 b9 | 00 00 12 d3 1b 54 4f 66 |rld.....|.....TOf|
|000023b0| 66 73 63 72 65 65 6e 2e | 55 6e 6c 6f 63 6b 54 68 |fscreen.|UnlockTh|
|000023c0| 65 50 69 78 65 6c 73 00 | 00 00 13 19 00 00 13 2a |ePixels.|.......*|
|000023d0| 11 54 4f 66 66 73 63 72 | 65 65 6e 2e 46 69 65 6c |.TOffscr|een.Fiel|
|000023e0| 64 73 00 00 16 1b 00 00 | 16 40 25 54 4f 6c 64 47 |ds......|.@%TOldG|
|000023f0| 72 6f 73 73 4f 66 66 73 | 63 72 65 65 6e 2e 49 4f |rossOffs|creen.IO|
|00002400| 6c 64 47 72 6f 73 73 4f | 66 66 73 63 72 65 65 6e |ldGrossO|ffscreen|
|00002410| 00 00 17 7d 00 00 17 94 | 17 54 4f 6c 64 47 72 6f |...}....|.TOldGro|
|00002420| 73 73 4f 66 66 73 63 72 | 65 65 6e 2e 46 72 65 65 |ssOffscr|een.Free|
|00002430| 00 00 17 ae 00 00 17 cd | 1f 54 4f 6c 64 47 72 6f |........|.TOldGro|
|00002440| 73 73 4f 66 66 73 63 72 | 65 65 6e 2e 47 65 74 4f |ssOffscr|een.GetO|
|00002450| 66 66 44 65 76 69 63 65 | 00 00 17 f0 00 00 18 10 |ffDevice|........|
|00002460| 21 54 4f 6c 64 47 72 6f | 73 73 4f 66 66 73 63 72 |!TOldGro|ssOffscr|
|00002470| 65 65 6e 2e 47 65 74 4f | 66 66 50 69 78 42 61 73 |een.GetO|ffPixBas|
|00002480| 65 00 00 00 18 2e 00 00 | 18 4b 1d 54 4f 6c 64 47 |e.......|.K.TOldG|
|00002490| 72 6f 73 73 4f 66 66 73 | 63 72 65 65 6e 2e 47 65 |rossOffs|creen.Ge|
|000024a0| 74 4f 66 66 50 6f 72 74 | 00 00 18 70 00 00 18 90 |tOffPort|...p....|
|000024b0| 21 54 4f 6c 64 47 72 6f | 73 73 4f 66 66 73 63 72 |!TOldGro|ssOffscr|
|000024c0| 65 65 6e 2e 53 65 74 75 | 70 4f 66 66 57 6f 72 6c |een.Setu|pOffWorl|
|000024d0| 64 00 00 00 19 49 00 00 | 19 62 19 54 4f 6c 64 47 |d....I..|.b.TOldG|
|000024e0| 72 6f 73 73 4f 66 66 73 | 63 72 65 65 6e 2e 46 69 |rossOffs|creen.Fi|
|000024f0| 65 6c 64 73 00 00 1a 51 | 00 00 1a 74 23 54 4e 65 |elds...Q|...t#TNe|
|00002500| 77 43 6f 6f 6c 4f 66 66 | 73 63 72 65 65 6e 2e 49 |wCoolOff|screen.I|
|00002510| 4e 65 77 43 6f 6f 6c 4f | 66 66 73 63 72 65 65 6e |NewCoolO|ffscreen|
|00002520| 00 00 1b a9 00 00 1b bf | 17 54 4e 65 77 43 6f 6f |........|.TNewCoo|
|00002530| 6c 4f 66 66 73 63 72 65 | 65 6e 2e 46 72 65 65 00 |lOffscre|en.Free.|
|00002540| 00 00 1b d9 00 00 1b f7 | 1f 54 4e 65 77 43 6f 6f |........|.TNewCoo|
|00002550| 6c 4f 66 66 73 63 72 65 | 65 6e 2e 47 65 74 4f 66 |lOffscre|en.GetOf|
|00002560| 66 44 65 76 69 63 65 00 | 00 00 1c 1a 00 00 1c 39 |fDevice.|.......9|
|00002570| 1f 54 4e 65 77 43 6f 6f | 6c 4f 66 66 73 63 72 65 |.TNewCoo|lOffscre|
|00002580| 65 6e 2e 47 65 74 4f 66 | 66 50 69 78 42 61 73 65 |en.GetOf|fPixBase|
|00002590| 00 00 1c 57 00 00 1c 73 | 1d 54 4e 65 77 43 6f 6f |...W...s|.TNewCoo|
|000025a0| 6c 4f 66 66 73 63 72 65 | 65 6e 2e 47 65 74 4f 66 |lOffscre|en.GetOf|
|000025b0| 66 50 6f 72 74 00 00 00 | 1c 98 00 00 1c b7 1f 54 |fPort...|.......T|
|000025c0| 4e 65 77 43 6f 6f 6c 4f | 66 66 73 63 72 65 65 6e |NewCoolO|ffscreen|
|000025d0| 2e 4c 6f 63 6b 54 68 65 | 50 69 78 65 6c 73 00 00 |.LockThe|Pixels..|
|000025e0| 1c d2 00 00 1c ec 1b 54 | 4e 65 77 43 6f 6f 6c 4f |.......T|NewCoolO|
|000025f0| 66 66 73 63 72 65 65 6e | 2e 50 6f 73 74 44 72 61 |ffscreen|.PostDra|
|00002600| 77 00 00 00 1d e2 00 00 | 1e 01 1f 54 4e 65 77 43 |w.......|...TNewC|
|00002610| 6f 6f 6c 4f 66 66 73 63 | 72 65 65 6e 2e 53 65 74 |oolOffsc|reen.Set|
|00002620| 75 70 4f 66 66 57 6f 72 | 6c 64 00 00 1e ba 00 00 |upOffWor|ld......|
|00002630| 1e db 21 54 4e 65 77 43 | 6f 6f 6c 4f 66 66 73 63 |..!TNewC|oolOffsc|
|00002640| 72 65 65 6e 2e 55 6e 6c | 6f 63 6b 54 68 65 50 69 |reen.Unl|ockThePi|
|00002650| 78 65 6c 73 00 00 1e f6 | 00 00 1f 0e 19 54 4e 65 |xels....|.....TNe|
|00002660| 77 43 6f 6f 6c 4f 66 66 | 73 63 72 65 65 6e 2e 46 |wCoolOff|screen.F|
|00002670| 69 65 6c 64 73 00 00 00 | 01 00 00 00 05 f6 00 00 |ields...|........|
|00002680| 04 f6 00 00 00 4a 00 34 | 5b 34 08 d2 00 00 00 1c |.....J.4|[4......|
|00002690| 00 4a 00 00 4d 50 53 52 | 00 02 00 0a 03 f0 ff ff |.J..MPSR|........|
|000026a0| 00 00 00 00 00 00 00 00 | 03 ed ff ff 00 00 00 22 |........|......."|
|000026b0| 00 00 00 00 03 ef ff ff | 00 00 00 6e 00 35 fd 28 |........|...n.5.(|
|000026c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000026f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+